package com.eeds.model.user.req;

import com.eeds.common.model.ReqUserId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

@Data
@ApiModel("修改用户密码请求参数")
@EqualsAndHashCode(callSuper =false)
public class ReqUpdateUserPasswordVO extends ReqUserId {


    @ApiModelProperty(value="用户id")
    @NotNull(message = "用户id不能为空")
    private Long userBaseInfoId;

    @ApiModelProperty(value="用户密码")
    @NotNull(message = "用户密码不能为空")
    private String userPassword;

    @ApiModelProperty(value="原密码")
    @NotNull(message = "原密码不能为空")
    private String oldUserPassword;



}
